import { createApp } from "vue";
import router from "./router";
import pinia from "./store";
import "./style.css";
import App from "./App.vue";
// import "./samples/node-api";
import "./assets/js/iconfont";

const app = createApp(App);

// 配置路由
app.use(router);

// 配置pinia
app.use(pinia);

app.mount("#app").$nextTick(() => {
  postMessage({ payload: "removeLoading" }, "*");
});
